package tichu_project252;

import java.util.logging.Level;
import java.util.logging.Logger;
import tichu_project252.Model.Model;
import tichu_project252.View.GameFrame;
import tichu_project252.View.View;

public class Project_252 {

    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {

                Model m = null;
                View v = null;

                try {
                    m = new Model();
                } catch (Exception ex) {
                    Logger.getLogger(GameFrame.class.getName()).log(Level.SEVERE, null, ex);
                }

                try {
                    v = new View(m);
                } catch (Exception ex) {
                    Logger.getLogger(Project_252.class.getName()).log(Level.SEVERE, null, ex);
                }

                m.setView(v);
            }
        });
    }
}
